{{define "base.html"}}ul
<!DOCTYPE html>
<html>
<head>
  <title>{{ .Title }}</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="/static/images/favicon.ico" />
  <link href="static/css/font-awesome.min.css" rel="stylesheet">
  <link href="static/css/index.css" rel="stylesheet">
  {{block "link" . }}{{end}}
  <!--link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css"-->
  <!--link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"-->
</head>
<body>
    <header>
        <div class="header-wrap">
            <!-- logo -->
            <div class="header-left">
                <h1>
                    <a href="/">
                        <img class="logo-img" src="{{.Logo}}" alt="{{.Title}}-LOGO" />
                    </a>
                </h1>
                <!-- 导航 -->
                <ul class="header-nav-left">
                    {{range $index,$elem := .Navigation}} {{if isODD $index}}
                    <li><a href="{{getNextName $.Navigation $index}}">{{$elem}}</a></li>
                    {{end}} {{end}}
                </ul>
            </div>
            <div class="header-right">
                <ul class="header-nav-right">
                    <li><a href="https://www.paddlepaddle.org.cn/">访问飞桨官网</a></li>
                    <li><a href="https://gitee.com/hanchaoqi/CDSystem">gitee</a></li>
                </ul>
            </div>
        </div>
    </header>
    <main>
        <div class="container">
            {{block "content" . }}{{end}}
        </div>
    </main>
    <footer>
        <div>
          Copyright © {{date "2006"}}&nbsp;
          <i style="color: red" class="iconfont icon-xiai"></i>&nbsp; by {{.Author}}
        </div>
        <div>
          Powered by <a href="https://github.com/PaddleCV-SIG/PaddleRS" target="__blank">PaddleRS</a> |
          <a href="https://beian.miit.gov.cn">辽ICP备19011925号</a>
        </div>
    </footer>
</body>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="static/js/index.js"></script>
{{block "script" . }}{{end}}
{{end}}